/*
 PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved.
 Your reuse is governed by the Creative Commons Attribution 3.0 United States License
*/
package org.puremvc.as3.interfaces
{
	public interface IObserver
	{
		/**
		 * 设置回调的Function
		 * @param	notifyMethod
		 */
		function setNotifyMethod( notifyMethod:Function ):void;
		/**
		 * 设置回调的调用对象
		 * @param	notifyContext
		 */
		function setNotifyContext( notifyContext:Object ):void;
		/**
		 * 执行回调函数 通知注册的Observer对象
		 * @param	notification
		 */
		function notifyObserver( notification:INotification ):void;
		/**
		 * 比较对象
		 * @param	object
		 * @return
		 */
		function compareNotifyContext( object:Object ):Boolean;
	}
}